package com.feature.shop.front.product.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.feature.core.mybatis.BaseService;
import com.feature.core.mybatis.SmartBaseMapper;
import com.feature.shop.front.product.mapper.ShopGoodsImageMapper;
import com.feature.shop.front.product.mapper.ShopGoodsMapper;
import com.feature.shop.front.product.mapper.ShopGoodsServiceMapper;
import com.feature.shop.front.product.mapper.ShopGoodsSpecMapper;
import com.feature.shop.front.product.mapper.ShopProductSpecMapper;
import com.feature.shop.front.product.model.entity.ShopGoodsEntity;

/***
 * @Description:商品
 * @author wangzhiyue
 * @date 2025-03-11 17:09:43
 * 
 */
@Service
public class ShopGoodsService extends BaseService<ShopGoodsEntity> {
    @Autowired
    private ShopGoodsMapper shopGoodsMapper;
    @Autowired
    private ShopProductSpecMapper shopProductSpecMapper;
    @Autowired
    private ShopGoodsSpecMapper shopGoodsSpecMapper;
    @Autowired
    private ShopGoodsImageMapper shopGoodsImageMapper;
    @Autowired
    private ShopGoodsServiceMapper shopGoodsServiceMapper;

    @Override
    public SmartBaseMapper<ShopGoodsEntity> getSmartBaseMapper() {
        return shopGoodsMapper;
    }

    @Override
    public Class<ShopGoodsEntity> getEntityClass() {
        return ShopGoodsEntity.class;
    }

}
